package com.andia.app.browser;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
import org.eclipse.swt.widgets.Shell;

public class MenuBarHelp extends MenuBarBrowser {

	public MenuBarHelp(Shell shell) {
		this.shell = shell;
	}

	@Override
	public Menu createMenuItem() {
		bar = shell.getMenuBar();
		Menu menu = new Menu(bar);

		// Help->About
		item = new MenuItem(menu, SWT.PUSH);
		item.setText("About");
		item.setAccelerator(SWT.MOD1 + 'H');

		return menu;
	}

}
